package cn.edu.ptu.jobfairs.basic.dto.response;

import cn.edu.ptu.jobfairs.basic.bo.Resume;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by Lin Chenxiao on 2020-10-09
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class WrapResumeDTO extends Resume {
    private Integer numAccept;
    private Integer numEvaluated;

    public WrapResumeDTO() {
        numAccept = 0;
        numEvaluated = 0;
    }

    public void addAccept() {
        this.numAccept++;
    }

    public void addEvaluate() {
        this.numEvaluated++;
    }
}
